package cn.iocoder.yudao.module.product.convert.process;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.product.controller.admin.process.vo.*;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.product.dal.dataobject.process.EmissionProcessDO;

/**
 * 排放源-工序关联 Convert
 *
 * @author wcl
 */
@Mapper
public interface EmissionProcessConvert {

    EmissionProcessConvert INSTANCE = Mappers.getMapper(EmissionProcessConvert.class);

    EmissionProcessDO convert(EmissionProcessCreateReqVO bean);

    EmissionProcessDO convert(EmissionProcessUpdateReqVO bean);

    EmissionProcessRespVO convert(EmissionProcessDO bean);

    List<EmissionProcessRespVO> convertList(List<EmissionProcessDO> list);

    PageResult<EmissionProcessRespVO> convertPage(PageResult<EmissionProcessDO> page);

}
